def fib(n):
    a,b=1,1
    c=0
    for i in range(2,n):
        c = a+ b
        a = b
        b = a
    return c
x = input("输入一个x值").e
fib(x)